color-button: simplify internal children
authorCosimo Cecchi <cosimoc@gnome.org>
Thu, 9 Feb 2012 15:48:10 +0000 (10:48 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 14 Feb 2012 21:37:01 +0000 (16:37 -0500)
commit126e941466438cbe001af12e253e0816149aae5d
treed54f8ca16a17879c52c052d855bd677a5e26be7f
parent51c6e8329db7e5cae3071e1c4437b980b451db09
color-button: simplify internal children

Instead of going GtkAlignment->GtkFrame->GtkAlignment, just pack a
GtkDrawingArea inside the button, and use halign/margin properties to
get the desired layout.
gtk/gtkcolorbutton.c